package jsu.lipengcheng.trafficnet.Ai;

import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.UserMessage;
import dev.langchain4j.service.spring.AiService;
import jsu.lipengcheng.trafficnet.common.Result;

@AiService(tools = "findService")
public interface AicodeService {
    @SystemMessage(fromResource="system.txt")
    public String chat(@MemoryId String memoryid, @UserMessage String message);
}
